import request from "@/utils/request";

//获取门店活动列表
export function getActivityList(params) {
    return request({
        url: "channel/shop/get-activity-list",
        method: "get",
        params,
    });
}
//门店活动保存及修改
export function activitySave(data) {
    return request({
        url: "channel/shop/activity-save",
        method: "post",
        data,
    });
}
//启用禁用门店活动
export function changeActivity(data) {
    return request({
        url: "channel/shop/change-activity",
        method: "post",
        data,
    });
}
//删除门店活动
export function activityDel(data) {
    return request({
        url: "channel/shop/activity-del",
        method: "post",
        data,
    });
}

